#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk

JAVA_HOME            := /usr/lib/jvm/java-6-sun
DEB_ANT_BUILDFILE    := weka/build.xml
DEB_ANT_BUILD_TARGET := docs exejar

install/weka::
	install -m644 -D dist/weka.jar debian/weka/usr/share/java/weka-$(DEB_UPSTREAM_VERSION).jar
	dh_link -pweka /usr/share/java/weka-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/weka.jar

get-orig-source:
	-uscan --rename --upstream-version 0
	@echo successfully retrieved upstream tarball
